Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jon 23 posts 53 karma points
    Apr 20, 2015 @ 11:32
    Jon
    0

    Website requires redirecting to home page [URL/home] rather than base [URL]

    Hi all,

     

    I'm having trouble getting my website to direct to my base url, lets for example say my website is www.example.co.uk, if I go here I get the error reffering to a 'Cannot view @Renderbody()' etc which I assume is the whole master template thing that Umbraco requires. My home page is located www.example.co.uk/home.

     

    Any idea how I can get my Umbraco website to view www.example.co.uk as my /home?

     

    Thanks,

    Jon

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Apr 20, 2015 @ 12:05
    Jeroen Breuer
    100

    Hello,

    This blogpost is a bit old, but it still works: https://cultiv.nl/blog/tip-of-the-week-the-ultimate-site-structure-setup/.

    I made a little improvement to it in this blogpost: http://24days.in/umbraco/2014/urlprovider-and-contentfinder/

    Jeroen

  • Jon 23 posts 53 karma points
    Apr 20, 2015 @ 12:25
    Jon
    0

    Hey thanks Jeroen!

     

    Your a big help! How do I look at the source/C# code to edit this? I'm currently using WebMatrix to create and edit the Umbraco site.

     

    Thanks,

    Jon

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Apr 20, 2015 @ 12:36
    Jeroen Breuer
    0

    Hello,

    Sorry I haven't used WebMatrix to edit an Umbraco site. I always use Visual Studio. You might want to have a look at the Hybrid Framework. In this video I explain some of the features and how to install it: https://www.youtube.com/watch?v=Enni9r0whCE

    Jeroen

  • Jon 23 posts 53 karma points
    Apr 20, 2015 @ 13:52
    Jon
    0

    Ah got it. I used the redirect code in the config file that you linked me to: https://cultiv.nl/blog/tip-of-the-week-the-ultimate-site-structure-setup/

     

    Thanks a lot! 

    Jon

  • Jeroen Breuer 4909 posts 12266 karma points MVP 5x admin c-trib
    Apr 20, 2015 @ 13:55
    Jeroen Breuer
    0

    Glad I could help. Can you please mark a post as the solution.

    Jeroen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies